package kuang.juc.single;


//静态内部类
public class Holder {
    private Holder(){}

    public static Holder getInstance(){
        return innerClass.HOLDER;
    }

    private static class innerClass{
        public static final Holder HOLDER=new Holder();
    }
}


